package com.yonyou.crm.bpub.itf;

import java.io.Serializable;
import java.util.Map;
/**
 * 流程公共接口
 * @author jiaoxw
 *
 */
public interface IProcessService {
	/**
	 * 根据id查询流程单据的详细信息
	 * @param id
	 * @return
	 */
	public <T extends Serializable> T selectById(Long id);
	/**
	 * 更新单据的审批状态
	 * @param id
	 * @param approvalState
	 * @param paraMap
	 */
	public void updateApprovalState(Long id, int approvalState, Map<String, Object> paraMap);
}
